package com.zwps.biz.dal.db.dao;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zwps.biz.api.model.vo.structure.PropertyCountVO;
import com.zwps.biz.api.model.vo.structure.TDepartmentWorkerCountVO;
import com.zwps.biz.api.model.vo.structure.ZSalaryPayMounthCountVO;
import com.zwps.biz.dal.db.object.TDepartmentDO;
import com.zwps.biz.dal.db.object.ZDeputyActivityRecordDO;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Entity com.zwps.biz.dal.db.object.TDepartment
 */
@DS("lhk")
public interface TDepartmentDAO extends BaseMapper<TDepartmentDO> {

    TDepartmentWorkerCountVO getDepartWorker();

    PropertyCountVO getPropertyCount();

    BigDecimal getPay(Integer year);

    List<ZSalaryPayMounthCountVO> getMounthPay(Integer year);

    List<ZDeputyActivityRecordDO> getList(Integer year);
}




